import { use, useDebugValue, useDeferredValue, useEffect, useId, useInsertionEffect, useMemo } from "react";
import { useState, useRef, useLayoutEffect } from "react";
import axios from "axios";
import './App.scss'
import List from "./20-List";



function App(){

const [a,setA]=useState(1)
// useId是用来创建唯一的id
const myId=useId()
const myId1=useId()

  return (
    <div>
      <h1 className="rotate">APP</h1>

      <label htmlFor={myId}>账号</label>
      <input type="text" placeholder="请输入账号" id={myId} />

      <input type="radio" id={myId1} />
      <label htmlFor={myId1}>是否同意</label>



    </div>
  );
}

export default App;
